package thread.jield;
/**
 * 线程的礼让
 *
 * @author cyt
 * @create 2020-03-03 14:29
 */
public class ThreadJiede {

    public static void main(String[] args) {

        Thread thread1 = new Thread(new JiedeThread(), "A");
        Thread thread2 = new Thread(new JiedeThread(), "B");

        thread1.start();
        thread2.start();
    }
}
